.calendar_date_select {
  display:block;
  z-index: 1000;
  width:375px;
}
/* this is a fun ie6 hack to get drop downs to stay behind the popup window.  This should always be just underneath .calendar_date_select */
iframe.ie6_blocker {
  position: absolute;
  z-index: 999;
}

.cds_header {
	margin: 5px 0;
	padding-top: 5px;
	border-top: 1px solid #000;
  text-align:center;
}

.calendar_date_select .cds_header a {
  width:22px;
  height:20px;
  text-decoration: none;
  font-size:14px;
  color: #000;
}

.calendar_date_select .cds_header a:hover {
  color: #f00;
}

.calendar_date_select .cds_header span {
  font-weight: bold;
  color: #000;
}

.calendar_date_select .cds_buttons {
	float: right;
  padding: 2px 0 5px 0px;
}

.calendar_date_select .cds_footer {
	margin-top: 20px;
  padding:3px;
	border-bottom: 1px solid #000;
	font-size: 1.1em;
	color: #000;
}

.calendar_date_select table {
  margin: 0px;
  padding: 0px;
	color: #000;
}

.calendar_date_select thead th {
	text-align: center;
	font-weight: normal;
	border-bottom: 1px solid #000;
  color: #000;
}

.calendar_date_select select {
	font-size: 0.8em;
}

.calendar_date_select .cds_header a.prev {
  float:left;
}
.calendar_date_select .cds_header a.next {
  float:right;
}
.calendar_date_select .cds_header a.close {
  float:right;
  display:none;
}

.calendar_date_select .cds_header select.month {
  width:90px;
}

.calendar_date_select .cds_header select.year {
  width:61px;
}

.calendar_date_select .cds_buttons a {
  font-size: 0.8em;
}

.calendar_date_select td {
  background-color: #f3f3f3;
  width: 24px;
  height: 21px;
  vertical-align: middle;
  text-align:center;
}

.calendar_date_select tbody td {
  border-bottom: 1px solid #444;
}

.calendar_date_select td.weekend {
  background-color: #ccc;
}

.calendar_date_select td div {
	display: block;
  color: #444;
}

.calendar_date_select td.disabled div {
  color: #aaa;
}

.calendar_date_select td.selected div {
  color: #307502;
}

.calendar_date_select td.selected {
  background-color: #6f0;
	color: #fff;
}

.calendar_date_select td:hover {
	background-color: #6f0;
}

.calendar_date_select td:hover div {
	color: #fff;
}

.calendar_date_select td.today {
	background-color: #999;
}

.calendar_date_select td.today div {
	color: #fff;
}

.fieldWithErrors .calendar_date_select {
  border: 2px solid #f00;
}
